package com.example.entity.vo.pc;

import com.example.entity.mysql.Resourcesub;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "末级生产线列表Vo")
@Data
public class ProductLineListVo {

    /**
     * resourceId, resourceType, resourceGroupIdIsF, resourceGroupId, fixedLine, remark
     */
    @ApiModelProperty(value = "资源ID")
    private Integer resourceId;

    @ApiModelProperty(value = "用来确定这个资源是属于生产线还是设备界面添加的。1设备  2生产线  3模具  4工装")
    private String resourceType;

    @ApiModelProperty(value = "用来打通resourcegroup。和resourcegroup中的resourcegroupId一一对应")
    private Integer resourceGroupIdIsF;

    /**
     * 末级生产线编号
     */
    @ApiModelProperty(value = "末级生产线编号")
    private String deviceId;

    /**
     * 末级生产线名称
     */
    @ApiModelProperty(value = "末级生产线名称")
    private String deviceName;

    @ApiModelProperty(value = "父级资源组id （用来确定资源组的父级统驭是谁）")
    private String resourceGroupId;

    @ApiModelProperty(value = "父级资源组名称")
    private String resourceGroupName;

    @ApiModelProperty(value = "父级资源组编号")
    private String resourceGroupNO;

    @ApiModelProperty(value = "是否为固定线，不是则为变动线(1为固定线，0为变动线)")
    private Integer fixedLine;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "工作中心Id")
    private String workCenter;

    @ApiModelProperty(value = "工作中心名称")
    private String workCenterName;

    @ApiModelProperty(value = "生产线-机器关联信息")
    private List<Resourcesub> sonList;

}
